package com.qms.repast.commons;


import com.qms.repast.BuildConfig;

/**
 * @author 泅渡者
 * @date 2018/6/6 0006.
 * @describe:定义基础常量
 */

public class Constants {
	public static String getBaseUrl () {
		return BuildConfig.BASE_URL;
	}

	/**
	 * Http请求成功状态码
	 */
	public static final int SUCCESS = 200;
	/**
	 * Http请求成功状态码（老版本接口）
	 */
	public static final String OLDRESULTCODE = "1";
	/**
	 * 服务器session
	 */
	public static final String USERID = "userId";
	/**
	 * 服务器session
	 */
	public static final String SESSION = "session";
	/**
	 * uuid
	 */
	public static final String UUID = "uuid";
	/**
	 * registerid
	 */
	public static final String REGISTERID = "registerid";
	/**
	 * UserAgent
	 */
	public static final String USERAGENT = "UserAgent";
	/**
	 * 经度
	 */
	public static final String LNG = "longitude";
	/**
	 * 纬度
	 */
	public static final String LAT = "latitude";
	/**
	 * 城市名称
	 */
	public static final String CITY = "city";
	/**
	 * 城市ID
	 */
	public static final String CITYID = "cityId";


}
